//
//  UIImage+IDNumber.h
//  xk100
//
//  Created by xiaokang on 2017/7/4.
//  Copyright © 2017年 xiaokang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

@interface UIImage (IDNumber)
+ (UIImage *)id_imageFromSampleBuffer:(CMSampleBufferRef)sampleBuffer;
+ (UIImage *)id_getImageStream:(CVImageBufferRef)imageBuffer;
+ (UIImage *)id_getSubImage:(CGRect)rect inImage:(UIImage*)image;

-(UIImage *)id_originalImage;
@end
